﻿#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

private slots:
    void on_pushButton_clicked();

    void on_copyFromBtn_clicked();

    void on_copyToBtn_clicked();

private:
    void setReplaceContent(const QString &strVar, const QString &strPos, int iRow);
    void copyFromVAT(const QString &strPos);
    void copyToVAT(const QString &strPos);

private:
    Ui::Widget *ui;

    QVector<QString> m_VecCodec;
    bool m_bFromVATSuccess = true;
    bool m_bToVATSuccess = true;
};

#endif // WIDGET_H
